.card {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
  opacity: 0.1;
}

.title {
  margin-bottom: 32px;
  text-align: center;
  position: relative;
  padding-bottom: 16px;
  z-index: 1;
}

.title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1890ff, #40a9ff);
  border-radius: 2px;
}

.title :global(.ant-typography) {
  margin-bottom: 0 !important;
  background: linear-gradient(45deg, #1a1a1a, #4a4a4a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600 !important;
}

.form {
  width: 100%;
  position: relative;
  z-index: 1;
}

.formItem {
  margin-bottom: 24px;
  position: relative;
}

.formItem::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #1890ff;
  transition: height 0.3s ease;
}

.formItem:hover::before {
  height: 24px;
}

.formItem :global(.ant-form-item-label) {
  padding-bottom: 8px;
}

.formItem :global(.ant-form-item-label > label) {
  font-size: 15px;
  font-weight: 500;
  color: #1f1f1f;
  height: auto;
}

.input {
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  padding: 8px 12px;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.9);
}

.input :global(.ant-input-prefix) {
  margin-right: 8px;
}

.input:hover {
  border-color: #40a9ff;
  background: #fff;
}

.input:hover :global(.ant-input-prefix) {
  color: #40a9ff;
}

.input:focus {
  border-color: #40a9ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
  background: #fff;
}

.input:focus :global(.ant-input-prefix) {
  color: #40a9ff;
}

.button {
  width: 120px;
  height: 40px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
  border: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
}

.button:hover::before {
  left: 100%;
}

.button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .card {
    padding: 16px;
    margin: 16px;
  }
  
  .formItem {
    margin-bottom: 20px;
  }
} 